package com.hwua.service;

import com.hwua.entity.Student;
import com.hwua.entity.Teacher;

import java.sql.SQLException;
import java.util.List;

/**
 * @author CQY
 */
public interface StudentService {

    public List<Student> findAll();
    public int save(Student student);
    public int delete(String id) throws SQLException;
    public int update(Student student);/**
     * 搜索
     * @param keyword
     * @return
     */
    public List<Student> findSearch(String keyword);


}
